import React from 'react'
import {Layout,Menu} from 'antd'
import {NavLink} from 'react-router-dom'
import './PowerActivities.css'


const {Content,Header} = Layout;

class  PowerActivities  extends React.Component{
         render(){
        return(
            <Layout>
              <Header style={{height:'auto'}}>
                <h1 className='title'>助力活动</h1>
                <Menu
                  className='nav'
                  mode='horizontal'
                  style={{background:'transparent'}}     
                >
                   <Menu.Item key='1'>
                     <NavLink to='/Home/cuXiao/PowerActivities/PowerActivitiesTable'>助力管理</NavLink>
                     </Menu.Item>   
                     <Menu.Item key='2'>
                     <NavLink to='/Home/cuXiao/PowerActivities/AddPower'>添加助力</NavLink>
                     </Menu.Item>                      
                </Menu>
              </Header>
            
                 <Content>
                    {this.props.children}
                   </Content> 
            </Layout>
        )
    }

}

export default  PowerActivities